package Nisha.inheritance;

interface A
{
	int id =10;
	public void print();
}

class B implements A
{
	public void print()
	{
		System.out.println("implemented interface "+id);
	}
}

public class InterfacesDemo {

	public static void main(String[] args) {
	
        B b = new B();
        b.print();
	}

}
